#ifndef PLUG_H
#define PLUG_H
#include <QtCore>
#include "interfaces.h"
#define PLUGIN_NAME "TestPlug"
#define PLUGIN_VER 0x00000100

class Plug : public QObject
{
    Q_OBJECT
public slots:
    void sayHello(QString str);
    void sayGoodbye(QString str);
};

class PlugInfo : public QObject
{
    Q_OBJECT
public slots:
    QString name() {
        return PLUGIN_NAME;
    }
    int version() {
        return PLUGIN_VER;
    }
};

#endif // PLUG_H
